<?php
if($tmp_rpt){
echo  json_encode(array(
		"success"	=>	$tmp_rpt,
                "error"		=>	$code
   ));
    
}else{
   echo  json_encode(array(
		"success"	=>	$tmp_rpt,
		"error"	=>	$code
		
   ));
}
?>

